import request from '../../utils/request'

export function getCollectionList(params) {
  return request.get('/collection',{params:params})
}

export function buyGood(data) {
  return request.post('/home',data)
}

export function delGood(params) {
  return request.delete('/home',{params:params})
}

export function delCollection(params) {
  return request.delete('/collection',{params:params})
}